package com.geekaca.news.service;

import com.geekaca.news.domain.Link;

import java.util.List;

public interface LinkService {
    int getTotalLinks();

    List<Link> getAllLinks(Integer page, Integer limit);

    int insertLink(Link link);

    Link getLinkById(Long id);

    int updateLink(Link link);

    int delLink(Long id);
}
